//
//  GWAboutViewController.m
//  Glowalker
//
//  Created by 王华磊 on 2017/10/4.
//  Copyright © 2017年 Haley. All rights reserved.
//

#import "GWAboutViewController.h"

@interface GWAboutViewController ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *versionLabel;
@end

@implementation GWAboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self setupLanguage];
    
    self.iconImageView.image = [UIImage imageNamed:@"app_icon_new"];
    
    NSDictionary *appInfo = [[NSBundle mainBundle] infoDictionary];
    NSString *version = [appInfo objectForKey:@"CFBundleShortVersionString"];
    self.versionLabel.text = version;
}

- (void)setupLanguage
{
    self.navigationItem.title = showText(@"关于");
}

@end
